package com.exchange.websocket.domain;

import java.math.BigDecimal;

/**
 * Tick
 *
 * @author simazilin
 * @date 2018/7/13
 */
public class Tick {

    /**
     * 买一价
     */
    private BigDecimal bidPrice;
    /**
     * 买一数量
     */
    private BigDecimal bidAmount;
    /**
     * 卖一价
     */
    private BigDecimal askPrice;
    /**
     * 卖一数量
     */
    private BigDecimal askAmount;

    public BigDecimal getBidPrice() {
        return bidPrice;
    }

    public void setBidPrice(BigDecimal bidPrice) {
        this.bidPrice = bidPrice;
    }

    public BigDecimal getBidAmount() {
        return bidAmount;
    }

    public void setBidAmount(BigDecimal bidAmount) {
        this.bidAmount = bidAmount;
    }

    public BigDecimal getAskPrice() {
        return askPrice;
    }

    public void setAskPrice(BigDecimal askPrice) {
        this.askPrice = askPrice;
    }

    public BigDecimal getAskAmount() {
        return askAmount;
    }

    public void setAskAmount(BigDecimal askAmount) {
        this.askAmount = askAmount;
    }

    @Override
    public String toString() {
        return "Tick{" +
                "bidPrice=" + bidPrice +
                ", bidAmount=" + bidAmount +
                ", askPrice=" + askPrice +
                ", askAmount=" + askAmount +
                '}';
    }
}
